const express = require("express");
const router = express.Router();
const {
  like,
  userLikeList,
} = require("../../controllers/learn/chapterLikesController");

/**
 * 点赞
 * GET /chapterLikes/likes
 */

router.post("/like", like);
/**
 * 用户id点赞列表
 * GET /chapterLikes/userLikeList
 */
router.get("/userLikeList", userLikeList);

module.exports = router;
